notebook: fixup previous commit
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 18 Jan 2012 21:14:31 +0000 (16:14 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 18 Jan 2012 21:14:31 +0000 (16:14 -0500)
Oops, I hit push too early.

gtk/gtknotebook.c

index 62a8535137b168e3fac1cf604a27d76cf9f19646..b854877ce7a4e2414e8b3b393574d5e236d5bd97 100644 (file)
@@ -6508,13 +6508,6 @@ gtk_notebook_update_tab_states (GtkNotebook *notebook)
         {
           GtkRegionFlags current_flags;
 
-          /*
-          if (page == priv->cur_page)
-            gtk_widget_set_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE, FALSE);
-          else
-            gtk_widget_unset_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE);
-          */
-
           /* FIXME: We should store these flags somewhere instead of poking
            * the widget's path */
           if (!gtk_widget_path_iter_has_region (gtk_widget_get_path (page->tab_label),